package org.example.auth.convert;

import org.example.auth.contract.response.UserResponse;
import org.example.auth.model.entity.User;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UserConvert {

    UserResponse clone(User user);

    List<UserResponse> clone(List<User> userList);
}
